package com.huabo.system.oracle.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TBL_JOB")
@ApiModel(value="TblJob")
public class TblJob implements Serializable {

    @TableId("JOBID")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select HIBERNATE_SEQUENCE.nextval from dual")
    private BigDecimal jobid;
    
    @TableField("JOBNAME")
    private String jobname;
    
    @TableField("COMPANYID")
    private String companyId;
    
    @TableField("DATASOURCE")
    private String datasource;
    
    @TableField("HISTORYCODE")
    private String historycode;
    
    @TableField("CODE")
    private String code;
    
    @TableField("DESCRIPTION")
    private String description;
    
    @TableField("CATEGORYID")
    private String categoryId;
    
    @TableField("CATEGORYNAME")
    private String categoryName;
    
    @TableField("CREATETIME")
    private Date createTime;
    
    @TableField("STATUS")
    private String status;
    
    
}
